www.gusucode.com > wxApp PHP版微信小程序CMS系统 v1.0PHP源码程序 > wxApp PHP版微信小程序CMS系统 v1.0/wxAppCMS_v1.0.0/wxAppCMS_v1.0.0/app/tag/tag_category.admincp.php
<?php /** * iCMS - i Content Management System * Copyright (c) 2007-2017 iCMSdev.com. All rights reserved. * * @author icmsdev <master@icmsdev.com> * @site https://www.icmsdev.com * @licence https://www.icmsdev.com/LICENSE.html */ defined('iPHP') OR exit('What are you doing?'); class tag_categoryAdmincp extends categoryAdmincp { public function __construct() { parent::__construct(iCMS_APP_TAG,'category'); $this->category_name = "分类"; $this->_app = 'tag'; $this->_app_name = '标签'; $this->_app_table = 'tag'; $this->_app_cid = 'tcid'; /** * 模板 */ $this->category_template+=array( 'tag' => array('标签','{iTPL}/tag.htm'), ); /** * URL规则 */ $this->category_rule+= array( 'tag' => array('标签','/tag/{TKEY}{EXT}','{ID},{0xID},{TKEY},{NAME},{ZH_CN}') ); /** * URL规则选项 */ $this->category_rule_list+= array( 'tag' => array( array('----'), array('{ID}','标签ID'), array('{0xID}','8位ID'), array('{TKEY}','标签标识'), array('{ZH_CN}','标签名(中文)'), array('{NAME}','标签名'), array('----'), array('{TCID}','分类ID',false), array('{TCDIR}','分类目录',false), ), ); } public function do_add($default=null){ parent::do_add(array('status'=> '2')); } }